<?php
/**
 * 拍卖内容,如cp,兄弟等
 */

namespace App\Models\MainDB\Auction;

use Illuminate\Database\Eloquent\Model;

class AuctionContent extends Model
{

    protected $table = 'ln_auction_content';

    protected $fillable = [
        'id',
        'name',
        'sort',
        'add_time',
        'type',//1默认2自定义
    ];

    public $timestamps = false;

    public function getAllContent()
    {
        return $this->orderBy('sort', 'asc')->orderBy('id', 'asc')->get();
    }
}
